package designPattern.builder;

public abstract class AbstractHouse {

    //打地基
    public abstract void buildBasic();

    //砌墙
    public abstract void buildWalls();

    //封顶
    public abstract void rooted();


    public void build(){
        buildBasic();
        buildWalls();
        rooted();
    }
}
